package com.ts.service;

import com.ts.mapper.dataOne.TransitMapper;
import com.ts.model.BusRun;
import com.ts.model.Camera;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TransitService {

    @Autowired
    private TransitMapper transitMapper;


    public List<BusRun> getBusRunList(Map<String,Object> params) {
        return transitMapper.getBusRunList(params);
    }

    public List<Camera> getCameraList(String name) {
        return transitMapper.getCameraList(name);
    }
}
